﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BotvaBot.RequestChains.Base;
using BotvaBot.RequestChainItems;

namespace BotvaBot.RequestChains
{
    public class FightWithMonsterChain : BotvaChainBase
    {
        public FightWithMonsterChain()
            : base()
        { }

        public FightWithMonsterChain(BotvaChainContext parentContext)
            : base(parentContext)
        { }


        public int GildiaId { get; set; }
        public int LetunId { get; set; }


        public override void Init()
        {
            base.Init();

            AddItem(new EnterChainItem(), () => !WithInheritedContext);
            AddItem(new LoginChainItem(), () => !WithInheritedContext);
            AddItem(new GotoBadalkaChainItem());
            AddItem(new LookingForMonsterChainItem());
            AddItem(new FightWithMonsterChainItem());
            AddItem(new LogoutChainItem(), () => !WithInheritedContext);
        }

    }
}
